package com.frank.reader.service;

import com.frank.reader.pojo.Evaluation;
import com.frank.reader.pojo.Member;
import com.frank.reader.pojo.MemberReadState;

public interface MemberService {
    Member createMember(String username, String password, String nickname);

    Member checkMember(String username, String password);

    MemberReadState selectMemberReadState(Long memberId, Long bookId);

    MemberReadState updateMemberReadState(Long memberId, Long bookId, Integer readState);

    Evaluation evaluation(Long memberId, Long bookId, Integer score, String content);

    Evaluation enjoy(Long evaluationId);
}
